package com.ylxl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Auther Gilbert
 * @Date 2023/6/26 15:27
 */
@Data
@TableName("container_device")
public class ContainerDevice {
    @ApiModelProperty(value="中间表id",required = false)
    @TableId(type = IdType.AUTO) //主键自增
    private Integer id;
    @ApiModelProperty(value="集装箱id",required = false)
    private Integer containerId;
    @ApiModelProperty(value="设备id",required = false)
    private Integer deviceId;
}
